package com.mm.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @ClassName EmployeeUpdateBo
 * @Description TODO
 * @Author 任昊
 * @Date 2020/12/4 12:49
 */
@Data
@ApiModel(value = "修改员工信息传入参数",description = "修改员工信息传入参数")
public class EmployeeUpdateBo {

    @ApiModelProperty(value = "员工id",name = "empId",required = true)
    @NotEmpty(message = "员工Id不能为空")
    private String empId;

    @ApiModelProperty(value = "员工姓名",name = "empName")
    private String empName;

    @ApiModelProperty(value = "员工工号",name = "empNum")
    private String empNum;

    @ApiModelProperty(value = "员工生日",name = "empBirthday")
    private Long empBirthday;

    @ApiModelProperty(value = "头像",name = "empPhoto")
    private String empPhoto;

    @ApiModelProperty(value = "身份证号",name = "empIdentityCard")
    private String empIdentityCard;

    @ApiModelProperty(value = "性别(1-男、2-女、3-保密)",name = "empSex")
    private Long empSex;

    @ApiModelProperty(value = "入职时间",name = "empEntryTime")
    private Long empEntryTime;

    @ApiModelProperty(value = "电话号码",name = "empPhoneNumber")
    private String empPhoneNumber;

    @ApiModelProperty(value = "家庭住址",name = "empAddress")
    private String empAddress;

    @ApiModelProperty(value = "所属部门id",name = "depaId")
    private String depaId;

    @ApiModelProperty(value = "职位id",name = "posiId")
    private String posiId;

    @ApiModelProperty(value = "工作状态(1-在职,0-离职)",name = "empWorkStatus")
    private Long empWorkStatus;

    @ApiModelProperty(value = "紧急联系人姓名",name = "empEmerName")
    private String empEmerName;

    @ApiModelProperty(value = "紧急联系人电话",name = "empEmerPhone")
    private String empEmerPhone;

    private String token;
}
